package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class MallBannerUpdateStatusDTO {

    @ApiModelProperty(value = "唯一主键")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(value = "0:下架 1:上架")
    @NotNull(message = "上下架状态不能为空")
    private Boolean status;

}
